package com.panshi.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ArticleVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String userPath;

    @ApiModelProperty(value = "类型id")
    private Integer typeId;

    @ApiModelProperty(value = "文章标题")
    String title;

    @ApiModelProperty(value = "文章简介")
    String introduce;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "图片路径")
    private String photoPath;

    @ApiModelProperty(value = "创建时间")
    Date createTime;

    @ApiModelProperty(value = "发布时间")
    private Date publishTime;

    @ApiModelProperty(value = "上架时间")
    private Date riseTime;

    @ApiModelProperty(value = "下架时间")
    private Date downTime;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "阅读量")
    private int readNum;

    @ApiModelProperty(value = "评论量")
    private int commentNum;

    @ApiModelProperty(value = "收藏量")
    private int collectNum;

    @ApiModelProperty(value = "上下架")
    private int status;

    @ApiModelProperty(value = "删除状态")
    private int deleted;

    @ApiModelProperty(value = "类型名称")
    private String name;


}
